package com.erp.base.blog.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.erp.base.blog.entity.Content;

/**
 * 文章内容
 * @author whw
 */
@Mapper
public interface ContentDao {

	Content get(Long cid);
	
	List<Content> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(Content content);
	
	int update(Content content);
	
	int remove(Long cid);
	
	int batchRemove(Long[] cids);
}
